package com.task.service;

import com.task.bean.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuzhe
 * @since 2021-04-10
 */
public interface ITeacherService extends IService<Teacher> {

    /**
     * 登录
     * @param teacher
     * @return
     */
    Teacher getByUsernameAndPassword(Teacher teacher);

    List<Teacher> queryTeaPage(int pageNum, int pageSize);
}
